<ul class="layui-tab-title">
  <li onclick="location.href = $(this).data('src')" data-src="{:url('User/friends',['target'=>'friend'])}" class="tab-item-friend">我的粉丝（<span>{$list_my_follower_count}</span>）</li>
  <li onclick="location.href = $(this).data('src')" data-src="{:url('User/friends',['target'=>'user'])}" class="tab-item-user">我的关注（<span>{$list_my_following_count}</span>）</li>
</ul>